<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<HEAD>
<TITLE>在线漫画</TITLE>
<link href="css/style1.css" rel="stylesheet" type="text/css"/>
</HEAD>
<%@ page import="java.util.*"%>
<%@ page import="collect.taobao.service.ClassificationDirectoryRelationService" %>
<%@ page import="collect.taobao.bean.ClassificationDirectoryRelationBean" %>
<%@ page import="collect.taobao.myenum.E_CLASSIFICATION" %>
<%@ page import="collect.taobao.util.string.StringUtil" %>
<%@ page import="collect.taobao.util.charset.CHARSET_CODE" %>

<%@ page import="javax.servlet.ServletContext" %>
<%@ page import="org.springframework.context.ApplicationContext" %>
<%@ page import="org.springframework.web.context.support.WebApplicationContextUtils" %>
<%@ page import="collect.taobao.util.generate.LogicService" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String classification =  StringUtil.getUrlChineseString(request,"CLASSIFICATION");
 System.out.println("CLASSIFICATION----->"+classification);
%>
	<body>
		<div>
		<% 
		ServletContext servletContext = request.getSession().getServletContext(); 
		ApplicationContext ctx=WebApplicationContextUtils.getWebApplicationContext(servletContext); 
		ClassificationDirectoryRelationService service = (ClassificationDirectoryRelationService) ctx.getBean("classificationDirectoryRelationServerInterface");
		
		List ls = service.queryListByClassification(classification);
		for(int i = 0;i<ls.size();i++){
			ClassificationDirectoryRelationBean tmp = (ClassificationDirectoryRelationBean)ls.get(i);
			out.println(classification+"----->"+tmp.getDirectory());
			out.println("<br>");
		}
		%>
		</div>
	</body>
<script type="text/javascript">

</script>